package com.jixi.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "菜品信息表")
@TableName("dish")
public class Dish {
	
	@Schema(description = "菜品名称")
	private String dishName;
	
	@Schema(description = "菜品序号，主键")
	@TableId(value = "dish_id")
	private Long dishId;
	
	@Schema(description = "菜品图片网址")
	private String dishImage;
	
	@Schema(description = "餐饮公司序号(外键)")
	private Long companyId;
	
	@Schema(description = "启用状态（0未启用，1启用）")
	private Integer status;
	
	@Schema(description = "是否删除")
	private Integer isDeleted;
	
	@Schema(description = "更新时间")
	private Date updateTime;
	
	@Schema(description = "创建时间")
	private Date createTime;
	
	
}
